function bdGEO(){
   	var geolocation = new BMap.Geolocation();
	geolocation.getCurrentPosition(function(r){
		if(this.getStatus() == BMAP_STATUS_SUCCESS){
		
		
		      var pt = new BMap.Point(r.point.lng,r.point.lat);
    geocodeSearch(pt);
	
	
			
		}
		else {
			alert('failed'+this.getStatus());
		}        
	},{enableHighAccuracy: true})
	
	
	return false;
	
	
   
}
function geocodeSearch(pt){
 var myGeo = new BMap.Geocoder();
    myGeo.getLocation(pt, function(rs){
        var addComp = rs.addressComponents;
      
		$("input[name='shengshi']").val(addComp.province+addComp.city + addComp.district );
		
    });
}